{% extends 'myhome/blank.html' %}
{% block con %}
<title>登录页面</title>
<div id="breadcrumb">
    <div class="container">
        <ul class="breadcrumb">
            <li><a href="{% url 'myhome_index' %}">首页</a></li>
            <li class="active">登录</li>
        </ul>
    </div>
</div>
<style>
    #divcs {
        margin: 0 auto;
        width: 350px;
        height: 370px
    }

</style>

<div id="divcs">
    <div class="section-title">
        <h3 class="title">登录</h3>
    </div>
    </br>
    <form action="{% url 'myhome_dologin' %}?nextpath={{ request.GET.nextpath }}" method="post">
        {% csrf_token %}
        <div class="form-group">
            <label>
                手机号<span>*:</span>
            </label>
            <input class="input" type="text" name="phone" placeholder="请输入手机号">
        </div>
        <div class="form-group">
            <label>
                密&nbsp;&nbsp;&nbsp;&nbsp;码<span>*:</span>
            </label>
            <input class="input" type="password" name="password" placeholder="请输入密码">
        </div>
        <label>
            <input type="checkbox" value="remember-me"> Remember me
        </label>
        <button class="btn btn-primary btn-lg btn-block" type="submit">登录</button>
    </form>
</div>

{% endblock %}